home *** CD-ROM | disk | FTP | other *** search
/ Sunday Savers: Sharing Fun! I Know My Savior Lives / Sunday Savers: Sharing Fun! I Know My Savior Lives.iso / mac / Xtras / Buddy API 3.7 / Buddy API Docs.swf / texts / 1116.txt < prev    next >
Encoding:
Text File  |  2004-08-31  |  2.7 KB  |  115 lines

  1. 23
  2. --- RECORDSEPARATOR ---
  3.  
  4. --- RECORDSEPARATOR ---
  5. ReadRegNumber 
  6. --- RECORDSEPARATOR ---
  7. Platform:
  8. --- RECORDSEPARATOR ---
  9.  
  10. --- RECORDSEPARATOR ---
  11. Windows
  12. --- RECORDSEPARATOR ---
  13.  
  14. --- RECORDSEPARATOR ---
  15. Description:
  16. --- RECORDSEPARATOR ---
  17.  
  18. --- RECORDSEPARATOR ---
  19. baReadRegNumber gets a number from the Windows Registry.
  20. --- RECORDSEPARATOR ---
  21.  
  22. --- RECORDSEPARATOR ---
  23. Usage:
  24. --- RECORDSEPARATOR ---
  25.  
  26. --- RECORDSEPARATOR ---
  27. Result = baReadRegNumber( KeyName, ValueName, Default, Branch )
  28. --- RECORDSEPARATOR ---
  29.  
  30. --- RECORDSEPARATOR ---
  31. Arguments:
  32. --- RECORDSEPARATOR ---
  33.  
  34. --- RECORDSEPARATOR ---
  35. String, String, Integer, String. 
  36. --- RECORDSEPARATOR ---
  37. KeyName is the name of the key. 
  38. --- RECORDSEPARATOR ---
  39. ValueName is the name of the value. 
  40. --- RECORDSEPARATOR ---
  41. Default is the string that is returned if the key/value doesn't exist. 
  42. --- RECORDSEPARATOR ---
  43. Branch is the branch of the registry to use. Can be one of the following: 
  44. --- RECORDSEPARATOR ---
  45. "HKEY_CLASSES_ROOT" 
  46. --- RECORDSEPARATOR ---
  47. "HKEY_CURRENT_USER" 
  48. --- RECORDSEPARATOR ---
  49. "HKEY_LOCAL_MACHINE" 
  50. --- RECORDSEPARATOR ---
  51. "HKEY_USERS" 
  52. --- RECORDSEPARATOR ---
  53. ΓÇ£HKEY_CURRENT_USERΓÇ¥ 
  54. --- RECORDSEPARATOR ---
  55. ΓÇ£HKEY_DYN_DATAΓÇ¥
  56. --- RECORDSEPARATOR ---
  57.  
  58. --- RECORDSEPARATOR ---
  59. Returns:
  60. --- RECORDSEPARATOR ---
  61.  
  62. --- RECORDSEPARATOR ---
  63. Integer. 
  64. --- RECORDSEPARATOR ---
  65. Returns the value associated with the Keyname. If the Keyname doesn't exist, then 
  66. --- RECORDSEPARATOR ---
  67. the return will be the Default value.
  68. --- RECORDSEPARATOR ---
  69.  
  70. --- RECORDSEPARATOR ---
  71. Examples:
  72. --- RECORDSEPARATOR ---
  73.  
  74. --- RECORDSEPARATOR ---
  75. Director: 
  76. --- RECORDSEPARATOR ---
  77. set Name = baReadRegNumber( "Courses\Computers", "Course", 0, 
  78. --- RECORDSEPARATOR ---
  79. "HKEY_CLASSES_ROOT" ) 
  80. --- RECORDSEPARATOR ---
  81. Authorware: 
  82. --- RECORDSEPARATOR ---
  83. Name := baReadRegNumber( "Courses\\Computers", "Course", 0, 
  84. --- RECORDSEPARATOR ---
  85. "HKEY_CLASSES_ROOT" )
  86. --- RECORDSEPARATOR ---
  87.  
  88. --- RECORDSEPARATOR ---
  89. Notes:
  90. --- RECORDSEPARATOR ---
  91.  
  92. --- RECORDSEPARATOR ---
  93. This function does not work in 16 bit - the 16 bit registry can not contain numbers. If 
  94. --- RECORDSEPARATOR ---
  95. used in 16 bit, the Default value will always be returned. 
  96. --- RECORDSEPARATOR ---
  97. A Registry entry consists of keys and sub-keys, similar to the directories and sub- 
  98. --- RECORDSEPARATOR ---
  99. directories in the Windows file system. 32 bit Windows adds Values to the registry. 
  100. --- RECORDSEPARATOR ---
  101. These can be thought of as files within the key.
  102. --- RECORDSEPARATOR ---
  103.  
  104. --- RECORDSEPARATOR ---
  105. See also:
  106. --- RECORDSEPARATOR ---
  107.  
  108. --- RECORDSEPARATOR ---
  109. baReadRegString 
  110. --- RECORDSEPARATOR ---
  111. baWriteRegString 
  112. --- RECORDSEPARATOR ---
  113. baWriteRegNumber 
  114. --- RECORDSEPARATOR ---
  115. baDeleteReg